/**
 * Created by Administrator on 2017/7/3.
 */
var vm_newsContent = avalon.define({
    $id: "newsContent",
    newsContent: [],
    // columnTitle: []
})
getNewsId();
function getNewsId() {
    var news_id=$.frontEngine.getUrlParameter("id");
    console.log(news_id);
    getNewsContent(news_id);
}
function getNewsContent(id) {
    var _basePath = getDataviewUrl(id);
    console.log(_basePath)
    $.frontEngineAjax.ajaxRequest(function (data) {
        vm_newsContent.newsContent = data;
    },_basePath);
}